/*
 * @Author: your name
 * @Date: 2022-04-13 18:27:59
 * @LastEditTime: 2022-04-15 11:15:23
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /yxfan-cli-dev-server/app/router.js
 */
'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
	const { router, controller } = app;
	router.get('/getTemplete', controller.templete.getData);
	router.get('/insertTemplete', controller.templete.insertData);
	router.get('/deleteTemplete', controller.templete.deleteData);
	router.get('/updateTemplete', controller.templete.updateData);

};
